package com.nf.ch03.test06.one;

/**
 * 小灵通
 *
 * @author lwj
 * @date 2025-03-04
 * @vesion 1.0.0
 */
public class XiaoLingTong extends Phone{
    // 构造方法
    public XiaoLingTong() {}
    public XiaoLingTong(String name) {
        super(name);
    }

    /**
     * 打电话
     */
    @Override
    public void ringUp() {
        System.out.println("小灵通可以打电话");
    }
}
